package yesjava;
// 自定义异常: 1 取名字 2 继承 RuntimeException  或 Exception  3 通过工具生成所有的构造方法
public class MyConnException extends RuntimeException{

    public MyConnException() {
    }

    public MyConnException(String message) {
        super(message);
    }

    public MyConnException(String message, Throwable cause) {
        super(message, cause);
    }

    public MyConnException(Throwable cause) {
        super(cause);
    }

    public MyConnException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
